package com.itobase.statusDetect.Repository;

import com.itobase.statusDetect.Model.Organization;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author htyu
 * @date 2019/2/24
 */
public interface OrganizationRepository extends MongoRepository<Organization,String> {

    Organization findByName(String name);

    List<Organization> findByFowardID(String id);
}
